package com.example.win.android_banduyujia.lib.util;

import android.util.Base64;

public class Base64Utils {

    public static byte[] decode(String str)
    {
        return Base64.decode(str, Base64.DEFAULT);
    }

    public static byte[] encode(byte[] bytes)
    {
        return Base64.encode(bytes, Base64.DEFAULT);
    }
}
